import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import routes from './router';
import { useRoutes } from 'react-router-dom';

function App() {
  return <ConfigProvider locale={zhCN}>{useRoutes(routes)}</ConfigProvider>;
}

export default App;
